// JavaScript Document

   var fireOnThis = document.getElementById("doSavePaymentButton");
                  if (document.createEvent)
                  {
                    var evObj = document.createEvent('MouseEvents');
                    evObj.initEvent( 'click', true, false );
                    fireOnThis.dispatchEvent(evObj);
                  }
                  else if (document.createEventObject)
                  {
                       fireOnThis.fireEvent('onclick');
                  }


